package edu.sdjzu.exam.service.auth;


import edu.sdjzu.exam.common.CommonResponse;

public interface AuthService {
    CommonResponse<Object> login(String username, String password);

    CommonResponse<String> logout();

    CommonResponse<String> register(String username, String password, String email, String name);

    CommonResponse<Object> getUserInfo();
    
    CommonResponse<String> updateUser(String email, String realname, String password);
}
